from flask import  render_template, Blueprint, redirect

bp = Blueprint('home',__name__ , url_prefix= '/' )

@bp.route('/')
def hello_world():
    return redirect('/home')
@bp.route('/home' )
def home():
    return render_template('dir/home.html')